package com.bestcem.xm.wallet.grpc.client.converter;

import com.bestcem.xm.wallet.grpc.client.converter.strategy.WalletBpWechatGrpcConvertStrategy;
import com.bestcem.xm.wallet.grpc.client.dto.GenerateMiniProgramUrlSchemeDTO;
import com.bestcem.xm.wechat.grpc.v1.services.GenerateMiniProgramUrlSchemeRequest;
import org.mapstruct.Mapper;
import org.mapstruct.NullValueCheckStrategy;

/**
 * 微信服务转换类
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/5/20 17:57
 */
@Mapper(componentModel = "spring", nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface WalletBpWechatConvert extends WalletBpWechatGrpcConvertStrategy {

    GenerateMiniProgramUrlSchemeRequest dto2GenerateMiniProgramUrlSchemeGrpc(GenerateMiniProgramUrlSchemeDTO generateMiniProgramUrlSchemeDTO);

}
